<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta charset="utf-8"/>
    <title>激想运动专营店上海分店</title>
    <meta name="description" content="overview &amp; stats"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
    <!-- bootstrap & fontawesome -->
    <link rel="stylesheet" href="../../assets/css/bootstrap.min.css"/>
    <link rel="stylesheet" href="../../assets/font-awesome/4.5.0/css/font-awesome.min.css"/>
    <!-- page specific plugin styles -->
    <!--ztree-->
    <link rel="stylesheet" href="../../assets/tools/ztree/css/metroStyle/metroStyle.css" type="text/css">
    <!-- text fonts -->
    <link rel="stylesheet" href="../../assets/css/fonts.googleapis.com.css"/>
    <!-- ace styles -->
    <link rel="stylesheet" href="../../assets/css/ace.min.css" class="ace-main-stylesheet" id="main-ace-style"/>
    <link rel="stylesheet" href="../../assets/css/jquery-ui.min.css"/>
   <link rel="stylesheet" href="../../assets/css/admin.css">

    <!--[if lte IE 9]>
    <link rel="stylesheet" href="../../assets/css/ace-part2.min.css" class="ace-main-stylesheet"/>
    <![endif]-->
    <link rel="stylesheet" href="../../assets/css/ace-skins.min.css"/>
    <link rel="stylesheet" href="../../assets/css/ace-rtl.min.css"/>
    <!--[if lte IE 9]>
    <link rel="stylesheet" href="../../assets/css/ace-ie.min.css"/>
    <![endif]-->

    <!-- inline styles related to this page -->
    <!-- ace settings handler -->
    <script src="../../assets/js/ace-extra.min.js"></script>
    <!-- HTML5shiv and Respond.js for IE8 to support HTML5 elements and media queries -->
    <!--[if lte IE 8]>
    <script src="../../assets/js/html5shiv.min.js"></script>
    <script src="../../assets/js/respond.min.js"></script>
    <![endif]-->

</head>
<body class="jx-skin no-skin">
<div id="navbar" class="navbar navbar-default ace-save-state ">
    <div class="navbar-container ace-save-state" id="navbar-container">
        <button type="button" class="navbar-toggle menu-toggler pull-left" id="menu-toggler" data-target="#sidebar">
            <span class="sr-only">Toggle sidebar</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
        </button>
        <div class="navbar-header pull-left">
            <div class="workspace-switcher">
                <a href="javascript:;" type="button" class="workspace-switcher-handler dropdown-toggle"
                   data-toggle="dropdown">
                    <i class="fa fa-bars" aria-hidden="true"></i>
                </a>
                <ul class="dropdown-menu workspace-switcher-view" role="menu">
                    <li><a href="#" style=""> <i class="fa fa-check"
                                                 style=""
                                                 aria-hidden="true"></i>
                        <span style="">激想体育专营店上海分店</span></a>
                    </li>
                    <li><a href="#" style=""> <span style="">激想体育专营店上海分店</span>
                        <span class="ml-10 label label-danger label-white middle">11天试用期</span>
                    </a></li>
                    <li><a href="#" style=""> <span style="">激想体育专营店上海分店</span></a>
                    </li>
                    <li class="divider"></li>

                    <li><a href="#" style=""><i class="fa fa-plus" aria-hidden="true"></i> <span
                            style="">新增店铺</span></a>
                    </li>
                </ul>
            </div>
            <a href="../manager/home.html" class="navbar-brand">
                <small>
                    激想运动专营店上海分店
                </small>
            </a>
        </div>
        <div class="navbar-buttons navbar-header pull-right" role="navigation">
            <ul class="nav ace-nav">
                <li class="grey dropdown-modal">
                    <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                        <i class="ace-icon fa fa-bell icon-animated-bell"></i>
                        <span class="badge badge-important">8</span>
                    </a>

                    <ul class="dropdown-menu-right dropdown-navbar navbar-pink dropdown-menu dropdown-caret dropdown-close">
                        <li class="dropdown-header">
                            <i class="ace-icon fa fa-exclamation-triangle"></i>
                            8 Notifications
                        </li>

                        <li class="dropdown-content">
                            <ul class="dropdown-menu dropdown-navbar navbar-pink">
                                <li>
                                    <a href="#">
                                        <div class="clearfix">
													<span class="pull-left">
														<i class="btn btn-xs no-hover btn-pink fa fa-comment"></i>
														New Comments
													</span>
                                            <span class="pull-right badge badge-info">+12</span>
                                        </div>
                                    </a>
                                </li>

                                <li>
                                    <a href="#">
                                        <i class="btn btn-xs btn-primary fa fa-user"></i>
                                        Bob just signed up as an editor ...
                                    </a>
                                </li>

                                <li>
                                    <a href="#">
                                        <div class="clearfix">
													<span class="pull-left">
														<i class="btn btn-xs no-hover btn-success fa fa-shopping-cart"></i>
														New Orders
													</span>
                                            <span class="pull-right badge badge-success">+8</span>
                                        </div>
                                    </a>
                                </li>

                                <li>
                                    <a href="#">
                                        <div class="clearfix">
													<span class="pull-left">
														<i class="btn btn-xs no-hover btn-info fa fa-twitter"></i>
														Followers
													</span>
                                            <span class="pull-right badge badge-info">+11</span>
                                        </div>
                                    </a>
                                </li>
                            </ul>
                        </li>

                        <li class="dropdown-footer">
                            <a href="#">
                                See all notifications
                                <i class="ace-icon fa fa-arrow-right"></i>
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="grey dropdown-modal">
                    <a data-toggle="dropdown" href="#" class="dropdown-toggle">
                        <img class="nav-user-photo" src="../../assets/images/avatars/user.jpg" alt="Jason's Photo"/>
                        <span class="user-info">
									<small>Welcome,</small>
									Jason
								</span>

                        <i class="ace-icon fa fa-caret-down"></i>
                    </a>
                    <ul class="user-menu dropdown-menu-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
                        <li>
                            <a href="#">
                                <i class="ace-icon fa fa-cog"></i>
                                设置
                            </a>
                        </li>

                        <li>
                            <a href="../account/accountInfo.html" target="_blank">
                                <i class="ace-icon fa fa-user"></i>
                                账户
                            </a>
                        </li>

                        <li class="divider"></li>

                        <li>
                            <a href="#">
                                <i class="ace-icon fa fa-power-off"></i>
                                退出
                            </a>
                        </li>
                    </ul>
                </li>
            </ul>
        </div>
    </div><!-- /.navbar-container -->
</div>
<div class="main-container ace-save-state" id="main-container">
    <script type="text/javascript">
        try {
            ace.settings.loadState('main-container')
        } catch (e) {
        }
    </script>

    <div id="sidebar" class="sidebar responsive  ace-save-state">
        <script type="text/javascript">
            try {
                ace.settings.loadState('sidebar')
            } catch (e) {
            }
        </script>
        <ul class="nav nav-list">
            <li class="">
                <a href="../manager/home.html">
                    <i class="menu-icon  fa fa-home"></i>
                    <span class="menu-text"> 首页 </span>
                </a>
                <b class="arrow"></b>
            </li>
            <li class="">
                <a href="#" class="dropdown-toggle">
                    <i class="menu-icon fa fa-desktop"></i>
                    <span class="menu-text">终端管理</span>
                    <b class="arrow fa fa-angle-down"></b>
                </a>
                <b class="arrow"></b>
                <ul class="submenu">
                    <li class="">
                        <a href="../terminalManager/productBrands.html">
                            <i class="menu-icon fa fa-caret-right"></i>
                            品牌管理
                        </a>
                        <b class="arrow"></b>
                    </li>
                    <li class="">
                        <a href="../terminalManager/productManager.html">
                            <i class="menu-icon fa fa-caret-right"></i>
                            商品管理
                        </a>
                        <b class="arrow"></b>
                    </li>
                    <li class="">
                        <a href="../terminalManager/productCarousels.html">
                            <i class="menu-icon fa fa-caret-right"></i>
                            轮播图管理
                        </a>
                        <b class="arrow"></b>
                    </li>
                </ul>
            </li>
            <li class="">
                <a href="../order/orderList.html">
                    <i class="menu-icon fa fa-file-text-o" aria-hidden="true"></i>
                    <span class="menu-text">订单</span>
                </a>
            </li>
            <li class="active open">
                <a href="#" class="dropdown-toggle">
                    <i class="menu-icon fa fa-user" aria-hidden="true"></i>
                    <span class="menu-text">员工</span>
                    <b class="arrow fa fa-angle-down"></b>
                </a>
                <b class="arrow"></b>
                <ul class="submenu">
                    <li class="active">
                        <a href="../staff/staffInfo.html">
                            <i class="menu-icon fa fa-caret-right"></i>
                            员工档案
                        </a>
                        <b class="arrow"></b>
                    </li>
                </ul>
            </li>
            <li class="">
                <a href="#" class="dropdown-toggle">
                    <i class="menu-icon fa fa-cog" aria-hidden="true"></i>
                    <span class="menu-text">店铺管理</span>
                    <b class="arrow fa fa-angle-down"></b>
                </a>
                <b class="arrow"></b>
                <ul class="submenu">
                    <li class="">
                        <a href="../shop-manager/shopInfo.html">
                            <i class="menu-icon fa fa-caret-right"></i>
                            店铺信息
                        </a>
                        <b class="arrow"></b>
                    </li>
                    <li class="">
                        <a href="../shop-manager/privilegeManagement.html">
                            <i class="menu-icon fa fa-caret-right"></i>
                            权限设置
                        </a>
                        <b class="arrow"></b>
                    </li>
                    <li class="">
                        <a href="../shop-manager/managerLog.html">
                            <i class="menu-icon fa fa-caret-right"></i>
                            店铺日志
                        </a>
                        <b class="arrow"></b>
                    </li>
                    <li class="">
                        <a href="paymentSetting.html">
                            <i class="menu-icon fa fa-caret-right"></i>
                            收款设置
                        </a>
                        <b class="arrow"></b>
                    </li>
                    <li class="">
                        <a href="shopBalance.html">
                            <i class="menu-icon fa fa-caret-right"></i>
                            店铺余额
                        </a>
                        <b class="arrow"></b>
                    </li>
                </ul>
            </li>

            <li class="">
                <a href="../help/help.html" class="dropdown-toggle">
                    <i class="menu-icon fa fa-question-circle"></i>
                    <span class="menu-text">帮助</span>
                </a>
            </li>
        </ul><!-- /.nav-list -->
        <div class="sidebar-toggle sidebar-collapse" id="sidebar-collapse">
            <i id="sidebar-toggle-icon" class="ace-icon fa fa-angle-double-left ace-save-state"
               data-icon1="ace-icon fa fa-angle-double-left" data-icon2="ace-icon fa fa-angle-double-right"></i>
        </div>
    </div>
    <div class="main-content">
        <div class="main-content-inner">
            <div class="breadcrumbs ace-save-state" id="breadcrumbs">
                <ul class="breadcrumb">
                    <li>
                        <i class="ace-icon fa fa-home home-icon"></i>
                        <a href="#">首页</a>
                    </li>
                    <li>
                        <a href="#">员工</a>
                    </li>
                    <li class="active">员工档案</li>
                </ul><!-- /.breadcrumb -->
                <div class="nav-search" id="nav-search">
                    <form class="form-search">
								<span class="input-icon">
									<input type="text" placeholder="Search ..." class="nav-search-input"
                                           id="nav-search-input" autocomplete="off"/>
									<i class="ace-icon fa fa-search nav-search-icon"></i>
								</span>
                    </form>
                </div><!-- /.nav-search -->
            </div>

            <div class="page-content">
                <div class="page-header">
                    <h1>所有员工
                        <button id="addUser" class="pull-right btn btn-orange btn-sm">新增员工</button>
                    </h1>
                </div><!-- /.page-header -->
                <div class="row">
                    <div class="col-xs-12">
                        <!-- PAGE CONTENT BEGINS -->
                        <div class="row">
                            <div class="col-xs-12">
                                <div class="widget-box">
                                    <div class="widget-header widget-header-flat">
                                        <h4 class="widget-title lighter smaller">
                                            角色
                                        </h4>
                                    </div>
                                    <div class="widget-body">
                                        <div class="widget-main">
                                            <div class="row ">
                                                <div class="col-xs-6 col-md-3 jx-profile-activity">
                                                    <img class="user" alt="Alex Doe's avatar"
                                                         src="../../assets/images/avatars/avatar5.png">
                                                    <div class="line-height-1 margin-10">
                                                        <p> 陈晨 </p>
                                                        <p class="grey"> accounts_37147638</p>
                                                    </div>
                                                </div>
                                                <div class="col-xs-2 col-md-6">
                                                    <div class="margin-20">拥有者</div>
                                                </div>
                                                <div class="col-xs-4 col-md-3">
                                                    <div class="margin-20"><a class="editPrivilege"
                                                                              href="#">编辑权限</a>
                                                        <a class="ml-10 del" id="del1" href="#">删除</a></div>
                                                </div>
                                            </div>
                                            <div class="hr"></div>
                                            <div class="row ">
                                                <div class="col-xs-6 col-md-3 jx-profile-activity">
                                                    <img class="user" alt="Alex Doe's avatar"
                                                         src="../../assets/images/avatars/avatar5.png">
                                                    <div class="line-height-1 margin-10">
                                                        <p> 陈晨 </p>
                                                        <p class="grey"> accounts_37147638</p>
                                                    </div>
                                                </div>
                                                <div class="col-xs-2 col-md-6">
                                                    <div class="margin-20">拥有者</div>
                                                </div>
                                                <div class="col-xs-4 col-md-3">
                                                    <div class="margin-20"><a class="editPrivilege"
                                                                              href="#">编辑权限</a>
                                                        <a class="ml-10 del" id="del2" href="#">删除</a></div>
                                                </div>
                                            </div>
                                            <div class="hr hr8 "></div>
                                            <div class="row ">
                                                <div class="col-xs-6 col-md-3 jx-profile-activity">
                                                    <img class="user" alt="Alex Doe's avatar"
                                                         src="../../assets/images/avatars/avatar5.png">
                                                    <div class="line-height-1 margin-10">
                                                        <p> 陈晨 </p>
                                                        <p class="grey"> accounts_37147638</p>
                                                    </div>
                                                </div>
                                                <div class="col-xs-2 col-md-6">
                                                    <div class="margin-20">拥有者</div>
                                                </div>
                                                <div class="col-xs-4 col-md-3">
                                                    <div class="margin-20"><a class="editPrivilege"
                                                                              href="#">编辑权限</a>
                                                        <a class="ml-10 del" id="del3" href="#">删除</a></div>
                                                </div>
                                            </div>
                                        </div><!-- /.widget-main -->
                                    </div><!-- /.widget-body -->
                                </div><!-- /.widget-box -->
                            </div><!-- /.col -->
                        </div><!-- /.row -->

                        <!-- PAGE CONTENT ENDS -->
                    </div><!-- /.col -->
                </div><!-- /.row -->
            </div><!-- /.page-content -->
        </div>
    </div><!-- /.main-content -->
    <div class="footer">
        <div class="footer-inner">
            <div class="footer-content">
                沪ICP备15052275号-2
            </div>
        </div>
    </div>
</div><!-- /.main-container -->
<div id="userDialog" title="添加成员至店铺" class="dialog-init">
    <div class="padding">
        <form action="" class="form-horizontal">
            <div class="form-group">
                <label class="col-xs-12">账号邀请：</label>
            </div>
            <div class="form-group">
                <div class="col-xs-12">
              <span class="input-icon input-icon-right">
                  <input type="text" placeholder="请输入手机号/邮箱账号" style="width: 300px" class="form-control"
                         id="form-field-icon-2">
                  <i id="search" class="ace-icon fa fa-search" aria-hidden="true"></i>
              </span>
                </div>
            </div>
        </form>
        <div id="searchResult" class="hidden row jx-profile-activity">
            <div class="col-xs-12 col-md-9">
                <img class="user" alt="Alex Doe's avatar"
                     src="../../assets/images/avatars/avatar5.png">
                <a class="" href="#" style="line-height: 50px">陈晨 </a>
            </div>
            <div class="col-xs-12 col-md-3 act-bar">
                <button id="add" class="btn btn-white btn-inverse btn-sm btn-round">
                    添加
                </button>
            </div>
        </div>
    </div>
    <hr>
    <div class="" style="">
        <div class="jx-progress progress progress-mini">
            <div class="progress-bar progress-danger" style="width: 50%;"></div>
        </div>
        <div>店铺成员数量 5/10 <a class="pull-right" href="">增加店铺成员名额</a></div>

    </div>
</div><!-- #dialog -->
<div id="privilegeDialog" title="编辑权限" class="dialog-init">
    <div class="padding">
        <form action="" class="form-horizontal">
            <div class="form-group">
                <label class="control-label col-xs-4">角色：</label>
                <div class="col-xs-8">
                    <select class="form-control" name="" id="">
                        <option value="">管理员</option>
                    </select>
                </div>
            </div>
        </form>
    </div>
</div><!-- #dialog -->

<!-- basic scripts -->
<!--[if !IE]> -->
<script src="../../assets/js/jquery-2.1.4.min.js"></script>
<!-- <![endif]-->
<!--[if IE]>
<script src="../../assets/js/jquery-1.11.3.min.js"></script>
<![endif]-->
<script type="text/javascript">
    if ('ontouchstart' in document.documentElement) document.write("<script src='assets/js/jquery.mobile.custom.min.js'>" + "<" + "/script>");
</script>
<script src="../../assets/js/bootstrap.min.js"></script>
<!-- page specific plugin scripts -->
<!--[if lte IE 8]>
<script src="../../assets/js/excanvas.min.js"></script>
<![endif]-->
<!-- page specific plugin scripts -->
<script src="../../assets/js/jquery-ui.min.js"></script>
<!--ztree-->
<script type="text/javascript" src="../../assets/tools/ztree/js/jquery.ztree.core.js"></script>
<script type="text/javascript" src="../../assets/tools/ztree/js/jquery.ztree.excheck.js"></script>
<script type="text/javascript" src="../../assets/tools/ztree/js/jquery.ztree.exedit.js"></script>
<!-- ace scripts -->
<script src="../../assets/js/jquery.easypiechart.min.js"></script>
<script src="../../assets/js/jquery.sparkline.index.min.js"></script>
<script src="../../assets/js/jquery.flot.min.js"></script>
<script src="../../assets/js/jquery.flot.pie.min.js"></script>
<script src="../../assets/js/jquery.flot.resize.min.js"></script>

<!-- ace scripts -->
<script src="../../assets/js/ace-elements.min.js"></script>
<script src="../../assets/js/ace.min.js"></script>
<script src="../../assets/javascripts/app.js"></script>
<!-- inline scripts related to this page -->
<script>
    $(function () {
        $("#addUser").click(function () {
            $("#userDialog").dialog('open');
        });
        $(".editPrivilege").click(function () {
            $("#privilegeDialog").dialog('open');
        });
        $("#userDialog").dialog({
            autoOpen: false,
            modal: true,
            dialogClass: "J-dialog",
            width: 450,
            height: "auto",
            open: function () {
                $(this).bind("keypress.ui-dialog", function (event) {
                    if (event.keyCode == $.ui.keyCode.ENTER) {
                        alert("enter pressed!");
                        return false;
                    }
                });
            }
        });
        $("#privilegeDialog").dialog({
            autoOpen: false,
            modal: true,
            dialogClass: "J-dialog",
            width: 450,
            height: "auto",
            buttons: [
                {
                    html: "取消",
                    "class": "btn btn-white btn-round  btn-minier",
                    click: function () {
                        $(this).dialog("close");
                    }
                }
                ,
                {
                    html: "确定",
                    "class": "btn btn-orange btn-round btn-minier",
                    click: function (e) {

                        $(this).dialog("close");
                    }
                }
            ]
        });
        $("#dlgSearch").dialog({
            autoOpen: false,
            bgiframe: true,
            width: 600,
//height: 225,
            modal: true,
            resizable: false,

            buttons: {
                "取消": function () {
                    $(this).dialog("close");
                },
                "搜索": function () {
                }
            },
            close: function () {
            }
        });
        /* $("#form-field-icon-2").keydown(function (event) {
         enterPress(event, function () {
         alert("ddd");
         })
         return false;
         })*/

        //删除
        $(".del").click(function () {
            var id = $(this).attr("id");
            //确认框
            jxConfirm("提示", "确认要删除吗？", function () {
                $("a[id='" + id + "']").parent().parent().parent().next().remove();
                $("a[id='" + id + "']").parent().parent().parent().remove();

                /*   $.post("productDel.ashx", {"action": "delete", "id": id}, function (data, status) {
                 if (data == "ok") {
                 message("删除成功！");
                 $("a[id='" + id + "']").parent().parent().parent().remove();
                 }
                 });*/
            });
        });
        //搜索
        $("#search").click(function () {
            $("#searchResult").removeClass("hidden");
        })
        //添加成功
        $("#add").click(function () {
            var id = $(this).attr("id");
            //确认框
            jxConfirm("提示", "确认添加该成员吗？", function () {

            });
        });
    });
</script>
</body>
</html>
